package test.demo.support;

import test.demo.BeansException;
import test.demo.config.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * @Description:
 * @author: JC
 * @date: 2023/4/5 12:41
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args)
        throws BeansException;
}
